﻿using System;
using System.Linq;
using System.Text;
using SqlSugar;

namespace AllServer.Core.Entity;
    ///<summary>
    ///微信登录配置表
    ///</summary>
    [SugarTable("TWechatLoginConfig")]
    public partial class TWechatLoginConfig
    {
        /// <summary>
        /// 
        /// </summary>           
        [SugarColumn(IsPrimaryKey=true,IsIdentity=true,ColumnName="Id")]
        public int Id {get;set;}
        /// <summary>
        /// 
        /// </summary>           
        [SugarColumn(ColumnName="AppId")]
        public string AppId {get;set;}
        /// <summary>
        /// 
        /// </summary>           
        [SugarColumn(ColumnName="AppSecret")]
        public string AppSecret {get;set;}
        /// <summary>
        /// 
        /// </summary>           
        [SugarColumn(ColumnName="AccessToken")]
        public string AccessToken {get;set;}
        /// <summary>
        /// 
        /// </summary>           
        [SugarColumn(ColumnName="Platform")]
        public string Platform {get;set;}
        /// <summary>
        /// 
        /// </summary>           
        [SugarColumn(ColumnName="IsEnable")]
        public int IsEnable {get;set;}
        /// <summary>
        /// 
        /// </summary>           
        [SugarColumn(ColumnName="ProductId")]
        public int ProductId {get;set;}
        /// <summary>
        /// 0默认 1公众号 2小程序
        /// </summary>           
        [SugarColumn(ColumnName="Type")]
        public int Type {get;set;}
        /// <summary>
        /// 回调地址
        /// </summary>           
        [SugarColumn(ColumnName="CallbackUrl")]
        public string CallbackUrl {get;set;}
        /// <summary>
        /// 迁移主键
        /// </summary>           
        [SugarColumn(ColumnName="RawId")]
        public int? RawId {get;set;}
        /// <summary>
        /// 最后更新时间，用于同于更新判断
        /// </summary>           
        [SugarColumn(ColumnName="SyncUpdateTime")]
        public DateTime? SyncUpdateTime {get;set;}
    }
